package com.ruoyi.web.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 销售详情对象 user_order_detail
 * 
 * @author ruoyi
 * @date 2025-06-11
 */
public class UserOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 商品id */
    @Excel(name = "商品id")
    private Long shopId;

    /** 商品名 */
    @Excel(name = "商品名")
    private String shopName;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private String shopSpec;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long shopNumber;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal shopPrice;

    /** 单品总价 */
    @Excel(name = "单品总价")
    private BigDecimal shopAmount;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }

    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }

    public void setShopSpec(String shopSpec) 
    {
        this.shopSpec = shopSpec;
    }

    public String getShopSpec() 
    {
        return shopSpec;
    }

    public void setShopNumber(Long shopNumber) 
    {
        this.shopNumber = shopNumber;
    }

    public Long getShopNumber() 
    {
        return shopNumber;
    }

    public void setShopPrice(BigDecimal shopPrice) 
    {
        this.shopPrice = shopPrice;
    }

    public BigDecimal getShopPrice() 
    {
        return shopPrice;
    }

    public void setShopAmount(BigDecimal shopAmount) 
    {
        this.shopAmount = shopAmount;
    }

    public BigDecimal getShopAmount() 
    {
        return shopAmount;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shopId", getShopId())
            .append("shopName", getShopName())
            .append("shopSpec", getShopSpec())
            .append("shopNumber", getShopNumber())
            .append("shopPrice", getShopPrice())
            .append("shopAmount", getShopAmount())
            .append("orderId", getOrderId())
            .append("isDel", getIsDel())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
